/**
 * 
 */
package org.pump.client.util;

/**
 * @author liudong03
 *
 */
public class MyConstant {
	public static final int SUCC = 0;
	public static final int CONFILE_NOT_EXISTS = -1;
	public static final int CONFILE_IO_EXCEPTION = -2;
	public static final int CONFIGURATION_ITEM_ERROR = -3;
	
	public static final int CONNECT_FAIL = -10;
	
	public static final int EVENT_QUEUE_FULL = -20;
	
	public static final int MASTER_STOP_TALK = -20;
	
	public static final String KEY_WORD = " table ";
	public static final int KEY_WORD_SIZE = MyConstant.KEY_WORD.length();
	
	public static final short FORMAT_EVENT = 15;
	public static final short QUERY_EVENT = 2;
	public static final short INSERT_EVENT = 23;
	public static final short UPDATE_EVENT = 24;
	public static final short DELETE_EVENT = 25;
	public static final short ROTATE_EVENT = 4;
	public static final short MAP_EVENT = 19;
	public static final short STOP_EVENT = 3;
	public static final short XID_EVENT = 16;
	
	public static final String CLOSE_TYPE = "CLOSE_TYPE";
	public static final String CLIENT_ACTIVE_CLOSE = "active";
	
	public static final int repeat_count = 50;
	
	public static final int SLEEP_INTERVAL = 5000;

}
